﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:vm="clr-namespace:Tum.PDE.ToolFramework.Modeling.Visualization.ViewModel.DiagramSurface.Templates"
                    xmlns:ctrl="clr-namespace:Tum.PDE.ToolFramework.Modeling.Visualization.Controls.DiagramSurface.Templates">
    <DataTemplate DataType="{x:Type vm:ModalDesignerSurfaceViewModel}">
        <ctrl:ModalDiagram HorizontalAlignment="Stretch" VerticalAlignment="Stretch"/>
    </DataTemplate>

    <DataTemplate DataType="{x:Type vm:SpecificElementsDesignerSurfaceViewModel}">
        <ctrl:SpecificElementsDiagram HorizontalAlignment="Stretch" VerticalAlignment="Stretch"/>
    </DataTemplate>
</ResourceDictionary>